#ifndef NETWORK_H
#define NETWORK_H
#include <QString>
#include <gdcmDataSet.h>
#include <gdcmImageReader.h>
#include <gdcmServiceClassUser.h>
#include <gdcmSimpleSubjectWatcher.h>
#include <gdcmProgressEvent.h>
#include <gdcmDirectory.h>
#include <gdcmPresentationContextGenerator.h>
#include <gdcmBaseRootQuery.h>
#include <gdcmQueryFactory.h>
#include <gdcmFindPatientRootQuery.h>
#include <gdcmMovePatientRootQuery.h>
class Network {
  gdcm::PresentationContextGenerator generator;
  gdcm::SmartPointer<gdcm::ServiceClassUser> scu;
public:
  Network( QString host, QString AETitle, int port = 11112, int timeout = 10);
  bool Find();
  bool Echo();
  bool Store(const QString & filename);
  bool Move();
  bool Start();
  bool Stop();
};

#endif // NETWORK_H
